package com.example.backend.service;
import com.example.backend.entity.StorageRecord;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

public interface StorageFeeService {
    StorageRecord saveRecord(StorageRecord record);
    void calculateStorageFee(StorageRecord record);
    List<StorageRecord> getAllRecords();
    List<StorageRecord> getRecordsByDateRange(Date start, Date end);
    BigDecimal calculateTotalFee();
    BigDecimal calculateTotalEntryWeight();
    BigDecimal calculateTotalOutWeight();

}